 {
    'variables': {
      'hge_dir': '<(DEPTH)/cuc/src/third_party/hge181',
    },
    'includes': [
      '../../../../../build/common.gypi',
    ],
    'target_defaults': {
      'defines':['CWKSHELL_VIEW_FRAME'],
       'include_dirs':[
          '<(DEPTH)',
        ],
    },
    'targets': [
      
     {
          'target_name': 'cwkshell_view_frame_dlls_copy',
          'type': 'none',
          'dependencies': [
           
          ],
          'variables': {
            
          },
          'copies': [
            {
              'destination': '<(PRODUCT_DIR)',
              'files': [
                  '<(hge_dir)/bass.dll',
                  '<(hge_dir)/hge.dll',
                  
              ],
            },
          ],
        },


      {
        'target_name': 'cwkshell_view_frame',
        'type':'static_library',
           'include_dirs':[
            '<(hge_dir)/include',
        ],
        'sources': [
         'lib/foo.cc',
         'lib/foo.h',
         'lib/window.cc',
         'lib/window.h',
        ],
        'dependencies':[
        ],
       
      },
      {
        'target_name': 'cwkshell_view_frame_test',
         'type':'executable',
         'dependencies': [
          'cwkshell_view_frame',      
          'cwkshell_view_frame_dlls_copy',
        ],
        'sources': [
         'test/main.cc',
        ],
        'include_dirs':[
          '<(hge_dir)/include',
        ],
         'conditions': [
          ['OS=="win"', {
            'link_settings': {
              'libraries': [
                '-limm32.lib',
                '-loleacc.lib',
             #for hge libs:
                '<(hge_dir)/lib/vc/hge.lib',
                '<(hge_dir)/lib/vc/hgehelp.lib',
              ]
            },
            'msvs_settings': {

              'VCLinkerTool': {
                'SubSystem': '2',  # Set /SUBSYSTEM:WINDOWS
              },
            },
           
          }],
          
          ['OS=="win"', {
            'sources/': [
              # This is needed because the aura rule strips it from the default
              # sources list.
              ['include', '^../content/app/startup_helper_win.cc'],
            ],
          }],
        ],
      },
    ],
    
  }